package com.qcby.demo.service.dubbo;

import com.alibaba.dubbo.config.annotation.Service;
import com.qcby.demo.client.TestFacade;
import com.qcby.demo.client.dto.TestDTO;
import com.qcby.demo.base.service.ITestService;
import lombok.extern.slf4j.Slf4j;

import javax.annotation.Resource;


/**
 * 测试立面impl
 *
 * @author cong.zhen
 * @date 2023/04/19
 */
@Service
@Slf4j
public class TestFacadeImpl implements TestFacade {

    @Resource
    private ITestService testService;

    @Override
    public TestDTO getTestById(Long id) {
        log.info("id:{}",id);
        TestDTO testDTO = new TestDTO();
        testDTO.setId(id);
        return testDTO;
    }

}
